package com.zodiac.app.gsps.endpoint.common.dto;

import lombok.Data;

import java.util.List;
@Data
public class Dict {
    private Integer id;
    private Integer parentId;
    private String name;
    private String code;
    private String category;
    private List<Dict> children;

    public Dict() {
    }

    public Dict(Integer id, String name, String code, String category, Integer parentId) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.category = category;
        this.parentId = parentId;
    }
}
